package org.study.mybatis.session;

import org.dom4j.DocumentException;

import java.io.IOException;

/**
 * 创建sql工厂
 */
public class SqlSessionFactoryBuilder {
    public SqlSessionFactory build(Configuration configuration) throws IOException, DocumentException {
        configuration.loadConfiguration();

        return new SqlSessionFactory();
    }
}
